/*
 * @Author: lvye
 * @Description:
 * @Date: 2023-08-23 11:21:40
 * @LastEditTime: 2023-08-31 10:26:10
 * @FilePath: \vue3-ts\src\views\main\system\user\config\content.config.ts
 */
export const contentTableConfig = {
  title: "用户列表",
  propList: [
    {
      prop: "name",
      label: "用户名",
      minWidth: "100"
    },
    {
      prop: "realname",
      label: "真实姓名",
      minWidth: "100"
    },
    { prop: "cellphone", label: "手机号码", minWidth: "100" },
    { prop: "enable", label: "状态", minWidth: "100", slotName: "status" },
    {
      prop: "createAt",
      label: "创建时间",
      minWidth: "100",
      slotName: "createAt"
    },
    {
      prop: "updateAt",
      label: "更新时间",
      minWidth: "100",
      slotName: "updateAt"
      // filterMethod: true,
      // columnKey: "updateAt"
    },
    { prop: "oldPrice", label: "原价格", minWidth: "80", slotName: "oldPrice" },
    { label: "操作", minWidth: "120", slotName: "handler" }
  ],
  showIndexColumn: true,
  showSelectColumn: true,
  childrenProps: {
    rowKey: "id",
    treeProp: {
      children: "children"
    }
  }
}
